<?php
include 'cabecalhoAdm.php';
$metodo = "busca";
require_once '../../Controller/Controller.Pedido.php';
?>
<div class="containers">
    <form method="GET" action="<?php $_SERVER['PHP_SELF']; ?>">
        Buscar <input type="text" name="busca"/><input type="SUBMIT" value="Buscar" class="bt_buscar"/>
    </form>
    <table summary="" >
        <tr><th>Id</th><th>Status</th></tr>
        <?php
        for ($i = 0; $i < count($listaPedidos); $i++) {
            $pr = $listaPedidos[$i];
            echo "<tr>";
            echo "<td><a href='admin_ver_pedido.php?id=" . $pr->getId() . "'>" . $pr->getId() . "</td>";
            echo '<td>' . $pr->getStatus() . '</td>';
            echo "</tr>";
        }
        ?>
    </table>
</div>

</div>
</div>
</body>

</html>